<?php
?>
<div class="form-horizontal">
    <div class="form-group">
        <label class="col-lg-3 col-sm-3 control-label">名称：</label>
        <div class="col-lg-9">
            <label class="form-control"><?= $item['name'] ?></label>
        </div>
    </div>

    <div class="form-group">
        <label class="col-lg-3 col-sm-3 control-label">手机号：</label>
        <div class="col-lg-9">
            <label class="form-control"><?= $item['phone'] ?></label>
        </div>
    </div>

    <div class="form-group">
        <label class="col-lg-3 col-sm-3 control-label">电话：</label>
        <div class="col-lg-9">
            <label class="form-control"><?= $item['tel'] ?></label>
        </div>
    </div>

    <div class="form-group">
        <label class="col-lg-3 col-sm-3 control-label">地址：</label>
        <div class="col-lg-9">
            <label class="form-control"><?= $item['province'] . $item['city'] . $item['county'] . $item['address'] ?></label>
        </div>
    </div>

    <div class="form-group">
        <label class="col-lg-3 col-sm-3 control-label">启用状态：</label>
        <div class="col-lg-3">
            <?php
            if ($item['is_enabled'] == 1) {
                ?>
                <span class="label label-success">启用</span>
                <?php
            } else {
                ?>
                <span class="label label-danger">禁用</span>
                <?php
            }
            ?>
        </div>
        <label class="col-lg-3 col-sm-3 control-label">认证状态：</label>
        <div class="col-lg-3">
            <?php
            if ($item['is_auth'] == 1) {
                ?>
                <span class="label label-success">认证</span>
                <?php
            } else {
                ?>
                <span class="label label-danger">未认证</span>
                <?php
            }
            ?>
        </div>
    </div>

    <div class="form-group">
        <label class="col-lg-3 col-sm-3 control-label">营业执照注册号：</label>
        <div class="col-lg-3">
            <label class="form-control"><?= $item['registration_no'] ?></label>
        </div>
        <label class="col-lg-3 col-sm-3 control-label">营业执照扫描件：</label>
        <div class="col-lg-3">
            <img style="width: 200px" src="<?= $item['business_license_scanning_copy']?>">
        </div>
    </div>

    <div class="form-group">
        <label class="col-lg-3 col-sm-3 control-label">法人身份证照（正面）：</label>
        <div class="col-lg-3">
                <img style="width: 200px" src="<?= $item['legal_representative_id_front_photo']?>">
        </div>
        <label class="col-lg-3 col-sm-3 control-label">法人身份证照（反面）：</label>
        <div class="col-lg-3">
            <img style="width: 200px" src="<?= $item['legal_representative_id_back_photo']?>">
        </div>
    </div>

    <div class="form-group">
        <label class="col-lg-3 col-sm-3 control-label">法人身份号：</label>
        <div class="col-lg-3">
            <label class="form-control"><?= $item['legal_representative_id_number'] ?></label>
        </div>
        <label class="col-lg-3 col-sm-3 control-label">法人手持身份证照：</label>
        <div class="col-lg-3">
            <img style="width: 200px" src="<?= $item['legal_representative_id_photo']?>">
        </div>
    </div>
</div>